/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: CNN 969682281@qq.com
 * @LastEditTime: 2023-12-12 11:03:16
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    // 顶部下拉框--闭合查询
    closeList: [
        {
            fItemName: "==请选择==",
            fItemValue: "==请选择==",
        },
        {
            fItemName: "已闭合",
            fItemValue: "已闭合",
        },
        {
            fItemName: "未闭合",
            fItemValue: "未闭合",
        },
    ],
    // 实时数据--列表
    table_config: {
        // 列表配置项
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [{
            label: "闭合状态",
            prop: "fCompanyname",
            minWidth: "70px",
            align: "center",
        },
        {
            label: "项目简称",
            prop: "fBeamyardname",
            minWidth: "100px",
            align: "center",
        },
        {
            label: "标段",
            prop: "fBeamname",
            minWidth: "100px",
            align: "center",
        },
        {
            label: "检测类型",
            prop: "fBeamnumber",
            minWidth: "100px",
            align: "center",
        },
        {
            label: "试验名称",
            prop: "fEngineeringname",
            minWidth: "100px",
            align: "left",
        },
        {
            label: "报告编号",
            prop: "fConcretedesignstrength",
            minWidth: "105px",
            align: "center",
            Jump: true,

        },
        {
            label: "报告日期",
            prop: "fConcretedesignstrength",
            minWidth: "105px",
            align: "center",
        },

        {
            label: "样品名称",
            prop: "fConcretedesignstrength",
            minWidth: "105px",
            align: "center",
        },
        {
            label: "样品编号",
            prop: "fConcretedesignstrength",
            minWidth: "105px",
            align: "center",
        },


        {
            label: "工程部位/用途",
            prop: "fConcretedesignstrength",
            minWidth: "140px",
            align: "center",
        },
        {
            label: "不合格参数及结果",
            prop: "fConcretedesignstrength",
            minWidth: "105px",
            align: "center",
        },
        {
            label: "报告判定",
            prop: "fConcretedesignstrength",
            minWidth: "105px",
            align: "center",
        },
        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: "操作",
            width: "70",
            detail: true,
            cols: [],
        },
    },
    // 详情--基本信息
    formObj: [{
        input: true, //是input
        label: "样品名称", //字段
        prop: "fCompanyname", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用

    },
    {
        input: true, //是input
        label: "样品编号", //字段
        prop: "fProjectname", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用  
    },
    {
        input: true, //是input
        label: "报告编号", //字段
        prop: "fTaskno", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用

    },
    {
        input: true, //是input
        label: "报告日期", //字段
        prop: "fBeamid", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "工程部位/用途", //字段
        prop: "fBeamname", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },

        // {
        //     label: "资料附件", //字段
        //     prop: "fDirectorreportfile", //字段名
        //     width: 24, //参考el-col
        //     disabled: true, //是否禁用
        //     upload: true,
        //     uploadSelect: false,
        //     uploadObj: {
        //         fileType: "2001",
        //         limit: 8, //上传长度限制
        //         hideUpload: false, //是否隐藏上传框
        //     },
        // },

    ],
    // 闭合申请单
    handleObjs: [{
        input: true, //是input
        label: "不合格参数及结果", //字段
        prop: "fWarningcontent", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },
    // {
    //     input: true, //是input
    //     label: "问题原因", //字段
    //     prop: "fReason", //字段名
    //     width: 24, //参考el-col
    //     disabled: false, //是否禁用
    //     rules: [{
    //         required: true,
    //         tigger: ['blur', 'change'],
    //         message: '问题原因不能为空'
    //     }]
    // },
    {
        input: true, //是input
        // select: true, //是input
        label: "审核方式", //字段
        prop: "fHandleway", //字段名
        // placeholder: "请选择",
        width: 24, //参考el-col
        disabled: false, //是否禁用
        // options: [],
        rules: [{
            required: true,
            message: '请选择审核方式'
        }] //验证
    },
    // {
    //     selects: true, //是input
    //     label: "处置结果", //字段
    //     prop: "fHandleresult", //字段名
    //     width: 12, //参考el-col
    //     disabled: false, //是否禁用
    //     options: [{
    //         value: '留用',
    //         label: '留用'
    //     }, {
    //         value: '废弃',
    //         label: '废弃'
    //     }, {
    //         value: '降级',
    //         label: '降级'
    //     }, {
    //         value: '其他',
    //         label: '其他'
    //     }],
    //     rules: [{
    //         required: true,
    //         message: '请选择处置结果'
    //     }] //验证
    // },

    {
        input: true, //是input
        label: "审核人", //字段
        prop: "fHandleusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '审核人不能为空'
        }] //验证
    },
    {
        // datePicker: true, //是input
        input: true, //是input
        label: "审核日期", //字段
        prop: "fHandledates", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
        rules: [{
            required: true,
            message: '请选择审核日期'
        }] //验证
    },
    {

        label: "附件资料", //字段
        prop: "fHandlefile", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        upload: true,
        uploadSelect: true,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
    },
    ],
    handleObjs1: [{
        input: true, //是input
        label: "预警内容", //字段
        prop: "fWarningcontent", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },
    // {
    //     input: true, //是input
    //     label: "问题原因", //字段
    //     prop: "fReason", //字段名
    //     width: 24, //参考el-col
    //     disabled: false, //是否禁用
    //     rules: [{
    //         required: true,
    //         message: '问题原因不能为空'
    //     }]
    // },
    {
        input: true, //是input
        // select: true, //是input
        label: "审核方式", //字段
        prop: "fHandleway", //字段名
        // placeholder: "请选择",
        width: 24, //参考el-col
        disabled: false, //是否禁用
        // options: [],
        rules: [{
            required: true,
            message: '请选择审核方式'
        }] //验证
    },
    // {
    //     selects: true, //是input
    //     label: "处置结果", //字段
    //     prop: "fHandleresult", //字段名
    //     width: 12, //参考el-col
    //     disabled: false, //是否禁用
    //     options: [{
    //         value: '留用',
    //         label: '留用'
    //     }, {
    //         value: '废弃',
    //         label: '废弃'
    //     }, {
    //         value: '降级',
    //         label: '降级'
    //     }, {
    //         value: '其他',
    //         label: '其他'
    //     }],
    //     rules: [{
    //         required: true,
    //         message: '请选择处置结果'
    //     }] //验证
    // }, 
    {
        input: true, //是input
        label: "审核人", //字段
        prop: "fHandleusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '审核人不能为空'
        }] //验证
    },
    {
        datePicker: true, //是input
        label: "审核日期", //字段
        prop: "fHandledates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择审核日期'
        }] //验证
    },
    {

        label: "附件资料", //字段
        prop: "fHandlefile", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        upload: true,
        uploadSelect: true,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
    },
    ],
    // 一级审核
    processObjs: [{
        selects: true, //是input
        label: "审核结果", //字段
        prop: "fFirstcheckresult", //字段名
        options: [{
            value: '同意',
            label: '同意'
        }, {
            value: '不同意',
            label: '不同意'
        }],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '审核结果不能为空'
        }] //验证
    },
    {
        input: true, //是input
        label: "审核意见", //字段
        prop: "fFirstcheckopinion", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用

    },
    {
        input: true, //是input
        label: "审核人", //字段
        prop: "fFirstcheckusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '审核人不能为空'
        }] //验证
    },
    {
        datePicker: true, //是input
        label: "审核日期", //字段
        prop: "fFirstcheckdates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择审核日期'
        }] //验证
    },
    {

        label: "附件资料", //字段
        prop: "fHandlefile", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        upload: true,
        uploadSelect: true,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
    },


    ],
    processObjs1: [{
        selects: true, //是input
        label: "审核结果", //字段
        prop: "fFirstcheckresult", //字段名
        options: [{
            value: '同意',
            label: '同意'
        }, {
            value: '不同意',
            label: '不同意'
        }],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '审核结果不能为空'
        }] //验证
    },
    {
        input: true, //是input
        label: "审核意见", //字段
        prop: "fFirstcheckopinion", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用

    },
    {
        input: true, //是input
        label: "审核人", //字段
        prop: "fFirstcheckusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '审核人不能为空'
        }] //验证
    },
    {
        datePicker: true, //是input
        label: "审核日期", //字段
        prop: "fFirstcheckdates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择审核日期'
        }] //验证
    },
    {

        label: "附件资料", //字段
        prop: "fHandlefile", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        upload: true,
        uploadSelect: true,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
    },

    ],
    // 二级审核
    examineObjs: [{
        selects: true, //是input
        label: "审核结果", //字段
        prop: "fSecondcheckresult", //字段名
        options: [{
            value: '同意',
            label: '同意'
        }, {
            value: '不同意',
            label: '不同意'
        }],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '审核结果不能为空'
        }] //验证
    },
    {
        input: true, //是input
        label: "审核意见", //字段
        prop: "fSecondcheckopinion", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用

    },
    {
        input: true, //是input
        label: "审核人", //字段
        prop: "fSecondcheckusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '审核人不能为空'
        }] //验证
    },
    {
        datePicker: true, //是input
        label: "审核日期", //字段
        prop: "fSecondcheckdates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择审核日期'
        }] //验证
    },
    {

        label: "附件资料", //字段
        prop: "fHandlefile", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        upload: true,
        uploadSelect: true,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
    },

    ],
    examineObjs1: [{
        selects: true, //是input
        label: "审核结果", //字段
        prop: "fSecondcheckresult", //字段名
        options: [{
            value: '同意',
            label: '同意'
        }, {
            value: '不同意',
            label: '不同意'
        }],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '审核结果不能为空'
        }] //验证
    },
    {
        input: true, //是input
        label: "审核意见", //字段
        prop: "fSecondcheckopinion", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用

    },
    {
        input: true, //是input
        label: "审核人", //字段
        prop: "fSecondcheckusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '审核人不能为空'
        }] //验证
    },
    {
        datePicker: true, //是input
        label: "审核日期", //字段
        prop: "fSecondcheckdates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择审核日期'
        }] //验证
    },
    {

        label: "附件资料", //字段
        prop: "fHandlefile", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        upload: true,
        uploadSelect: true,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
    },

    ],



    formData: {
        fId: "", //id
        fCompanyid: "", //标段id
        fCompanyname: "", //标段名称
        fProjectid: "", //项目id
        fProjectname: "", //项目名称
        fTaskno: "", //任务单号
        fBeamid: "", //梁场编号
        fBeamname: "", //梁场名称
        fMachineid: "", //设备编号
        fMachinename: "", //设备名称
        fWbsid: "", //工程部位id
        fWbsname: "", //工程部位
        fConcretedesignstrength: "", //混凝土设计强度(张拉) / 孔道类型(压浆)
        fPlantensioningdates: "", //计划张拉日期
        fTensioningforce: "", //设计张拉力
        fBeamtype: "", //梁型
        fBeamnumber: "", //梁号
        fPouringdates: "", //浇筑日期
        fBeamrealname: "", //梁名称
        fAge: "", //龄期
        fProcessnum: "", //孔道数
        fDesigndensity: "", //设计密度(压浆)
        fTheoreticalslurry: "", //理论浆量(压浆)
        fTaskuserid: "", //提交人id
        fTaskusername: "", //提交人
        fTaskdates: "", //创建时间
        fStatus: "未完成", //状态
        fNote: "1", //1 张拉 2压浆
    }

    // 任务单


}